//
//  ConnectionUtility.h
//  CarpoolWithFriends
//
//  Created by Yang Lu on 5/24/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#ifndef CarpoolWithFriends_ConnectionUtility_h
#define CarpoolWithFriends_ConnectionUtility_h

/*URL address (API)*/
#define LOGIN_API                   @"account/login"
#define REGISTER_API                @"account/register" 
#define PROFILE_IMAGE_UPDATE_API    @"account/update_profile_image" 
#define PROFILE_UPDATE_API          @"account/update_profile"
#define PROFILE_SEARCH_API          @"account/search"

/* Account module */
#define LOGIN_QUERY_STRING          @"email=%@&password=%@"
#define REGISTRATION_JSON_STRING    @"{\"email\":\"%@\", \"password\":\"%@\", \"first_name\":\"%@\", \"last_name\":\"%@\", \"phone\":\"%@\"}"
#define PROFILE_SEARCH_QUERY_STRING       @"uid=%@"
#define PROFILE_UPDATE_JSON_STRING       @"\"uid\":\"%@\""

#endif
